/**
 * 
 */
package com.tripwego.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.tripwego.shared.dto.TripDto;

/**
 * @author jguibert
 * 
 */
@RemoteServiceRelativePath("tripService")
public interface TripDao extends RemoteService {

	Long create(TripDto tripDto);

	void update(TripDto tripDto);

	void delete(TripDto tripDto);

	List<TripDto> findAllTrip();
	
	TripDto findById(Long tripId);
}
